# $Id: PKGBUILD 65385 2012-02-21 02:30:27Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=websvn
pkgver=2.3.3
_xpkgpath=1380/49056
pkgrel=2
pkgdesc="subversion web interface"
arch=(any)
url="http://www.websvn.info"
license=('GPL')
depends=()
backup=(srv/http/websvn/.htaccess)
source=(http://websvn.tigris.org/files/documents/${_xpkgpath}/websvn-$pkgver.tar.gz)
md5sums=('bc1821caf77a3225aa810e8f19400ea6')

build() {
  local _instdir=$pkgdir/srv/http
  mkdir -p ${_instdir}
  cp -ra $srcdir/websvn-$pkgver ${_instdir}/websvn
  echo "deny from all" >${_instdir}/websvn/.htaccess
}
